﻿using System;
using Simp.CodeModel;

namespace Simp.Parsing
{
	/// <summary>Represents a parser, able to parse <c>Simp</c> programs.</summary>
	public interface IParser
	{
		/// <summary>Parses content and returns a list of parsed functions.</summary>
		/// <param name="content"/>
		/// <returns>List of functions</returns>
		IFunction[] Parse(string content);
	}
}